<?php
include "../../../lib/list.php";
if($_GET['no'])$no = $_GET['no'];
	$table = "uatp_buyer";
	$qry  = "select * from $table where no = $no[$i]";
	$list = DBarray($qry);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us">
<head>
<link rel="stylesheet" href="../../../css/insert.css" type="text/css"></link>
<link rel="stylesheet" href="../../../css/list.css" type="text/css"></link>
<script type="text/javascript" src="../../../js/list.js"></script>
</head>
<body>
	<div style="width: 1024px; padding: 10px;">
		<div
			style="border-bottom: 1px solid #e8e8e8; text-align: left; font-size: 12px; margin-bottom: 12px; color: #9a9a9a">:::
			마스터 관리&nbsp;⇒&nbsp;구매처 마스터&nbsp;⇒&nbsp;구매처 상세보기</div>
		
		<form name="detail" method="post">
	<input type="hidden" value="<?=$list[no]?>" name="chk_no[]"/>
	<input type="hidden" value="" name="mode"/>
	<div id=register>
		<ul class='line'></ul>
				<ul>
					<li class="lable">구매처 가나</li>
					<li class='detail'><b><?=$list['name']?></b>
					</li>
				</ul>
				<ul>
					<li class="lable">구매처 가나</li>
					<li class='detail'><?=$list['name_gana']?>
					</li>
				</ul>
				<ul>
					<li class="lable">우편번호</li>
					<li class="detail"><?=$list['post']?>
					</li>
				</ul>
				<ul>
					<li class="lable">도도부현</li>
					<li class="detail"><?=$list['prefecture']?>
					</li>
				</ul>
				<ul>
					<li class="lable">주소</li>
					<li class="detail"><?=$list['address1']?>
					</li>
				</ul>
				<ul>
					<li class="lable">주소2</li>
					<li class="detail"><?=$list['address2']?>
					</li>
				</ul>
				<ul>
					<li class="lable">TEL1</li>
					<li class="detail"><?=$list['tel1']?></li>
				</ul>
				<ul>
					<li class="lable">TEL2</li>
					<li class="detail"><?=$list['tel2']?>
					</li>
				</ul>
				<ul>
					<li class="lable">FAX1</li>
					<li class="detail"><?=$list['fax1']?>
					</li>
				</ul>
				<ul>
					<li class="lable">FAX2</li>
					<li class="detail"><?=$list['fax2']?>
					</li>
				</ul>
				<ul>
					<li class="lable">Mail</li>
					<li class="detail"><?=$list['mail']?>
					</li>
				</ul>
				<ul>
					<li class="lable">비고</li>
					<li class="detail"><?=stripslashes($list['note'])?>
					</li>
				</ul>
	</div>
	
		</form>
<div style="padding: 5px;"><center>
<input type="button" class="button green small"	value="수정하기" onclick="javascript:detail_modify();" /> 
<input type="button" class="button white small" value="돌아가기" onclick="javacsript:history.go(-1)"/></center>
		</div>

	</div>
</body>
</html>
